*,
:after,
:before {
  box-sizing: border-box;
}
ul,li,ol{
  list-style: none;
}
.comment_container {
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-body);

  .comment_box {
    max-width: 800px;
    padding: 0 16px;
    margin: 0 auto;

    >p {
      margin-bottom: 30px;
      color: var(--main-text-color);
      font-weight: 500;
      font-size: 16px;
      line-height: 22px;
      text-align: center;
      letter-spacing: .06em;
    }

    ._3E53JQDjSQhUYjr {
      box-shadow: var(--box-shadow);
      border-radius: var(--border-radius);
      margin-bottom: 16px;

      .comment {

        ._13J4GEYHDRu5MejyviLpnU {
          padding: 16px;
          border-radius: var(--border-radius);
          box-shadow: var(--box-shadow);
          background-color: var(--bg-second);

          .N1BwmgIkZZbNoeNN_FRbs .TaXtx7NU2ZhkaBRHq0 {
            position: relative;
          }

          footer {
            .emojis {
              margin-left: 4px;
            }

            ul {
              width: 512px;
              height: 264px;
              padding: 12px 16px;
              position: absolute;
              top: 200px;
              left: auto;
              overflow: auto;
              display: flex;
              flex-wrap: wrap;
              background-color: #fff;
              box-shadow: 1px 2px 2px #444;
              border-radius: 5px;
              z-index: 3;

              li {
                width: 32px;
                height: 32px;
                font-size: 20px;
                text-align: center;
                cursor: pointer;
              }
            }

            display: flex;
            justify-content: space-between;
            padding-top: 1rem;
            ._12avHmKjidVRHTuf5Qbd4K:hover {
              color: var(--primary-color);
            }
            ._12avHmKjidVRHTuf5Qbd4K {
              display: flex;
              align-items: center;
              color: var(--disable-text-color);
              cursor: pointer;

              span {
                :nth-child(2) {
                  margin-left: 4px;
                }

              }

            }

            .button {
              border-color: var(--comment-editor-border-color) !important;
              color: var(--main-text-color) !important;
              background-color: var(--comment-editor-disable-bg) !important;
              line-height: 1.5715;
              position: relative;
              display: inline-block;
              font-weight: 400;
              white-space: nowrap;
              text-align: center;
              background-image: none;
              box-shadow: 0 2px 0 rgb(0 0 0 / 2%);
              cursor: pointer;
              transition: all .3s cubic-bezier(.645, .045, .355, 1);
              user-select: none;
              touch-action: manipulation;
              height: 32px;
              padding: 4px 15px;
              font-size: 14px;
              border-radius: 2px;
              color: #000;
              background: #fff;
              border: 1px solid #d9d9d9;
            }
          }

        }
      }

      ._1f7ebMJKow4NcuDVTBnvOc._3G7_JYLS4EIxTgILiJm_A5 {
        padding: 16px;
        background-color: var(--bg-second);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        margin-top: 1rem;

        .pinglun {
          box-shadow: none;
          padding: 0;
        }

        header {
          display: flex;
          align-items: center;

          .avatar {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            color: #000;
            font-size: 14px;
            font-variant: tabular-nums;
            list-style: none;
            font-feature-settings: "tnum";
            position: relative;
            display: inline-block;
            overflow: hidden;
            color: #fff;
            white-space: nowrap;
            text-align: center;
            vertical-align: middle;
            background: #ccc;
            width: 32px;
            height: 32px;
            line-height: 32px;
            border-radius: 50%;

            .avatar_string {
              transform: scale(1) translateX(-50%);
              text-align: center;
              font-size: 18px;
              color: #fff;
            }
          }

          ._3xprCsLyoqZkArtvYiuAJU {
            color: var(--main-text-color);
            padding: 0 8px;
          }

          strong {
            color: var(--main-text-color);
          }
        }

        main {
          font-size: .9rem;
          color: var(--main-text-color)
        }

        footer {
          font-size: .8rem;

          ul {
            width: 512px;
            height: 264px;
            padding: 12px 16px;
            position: absolute;
            left: auto;
            overflow: auto;
            display: flex;
            flex-wrap: wrap;
            background-color: #fff;
            box-shadow: 2px 2px 15px #333;
            border-radius: 5px;
            z-index: 999;
            margin-top: 40px;

            li {
              width: 32px;
              height: 32px;
              font-size: 20px;
              text-align: center;
              cursor: pointer;
            }
          }

          >div {

            >span,
            time {
              color: var(--disable-text-color);
            }

            .icon {
              cursor: pointer;
              margin-left: 8px;
            }

            .icon:hover {
              color: #ff0064;
              ;
            }
          }
        }
      }
    }
  }
}

.icon-xiaolian2 {
  font-size: 18px !important;
}

textarea.ant_input {
  max-width: 100%;
  height: auto;
  min-height: 32px;
  line-height: 1.5715;
  vertical-align: bottom;
  transition: all .3s, height 0s;
  border-color: var(--comment-editor-border-color);
  color: var(--main-text-color);
  background-color: var(--bg-second);
  box-shadow: none !important;

}

::-webkit-input-placeholder {
  color: #ccc;
}


.ant_input {
  box-sizing: border-box;
  margin: 0;
  font-variant: tabular-nums;
  list-style: none;
  font-feature-settings: "tnum";
  position: relative;
  display: inline-block;
  width: 100%;
  min-width: 0;
  padding: 4px 11px;
  color: #000;
  font-size: 14px;
  line-height: 1.5715;
  background-color: var(--bg);
  background-image: none;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  transition: all .3s;
  outline: none;
}

._1oweEwxuizpZY8B_S3 {
  padding-top: 16px;
}
.emojis{
  margin-left: 4px;
}
._1oweEwxuizpZY8B_S3>footer {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;

  .anticon {
    font-size: 18px;
  }
  ._12avHmKjidVRHTuf5Qbd4K:hover {
    color: var(--primary-color);
  }
  ._12avHmKjidVRHTuf5Qbd4K {
    display: flex;
    align-items: center;
    color: var(--disable-text-color);
    cursor: pointer;

    span {
      margin-left: 4px;
      transform: translateY(1px);
    }
  }

  .btn_sm {
    height: 24px;
    padding: 0 7px;
    font-size: 14px;
    border-radius: 2px;
  }

  button {
    text-transform: none;
    overflow: visible;
    margin: 0;
  }

  .btn_primary[disabled] {
    border-color: var(--comment-editor-border-color);
    color: var(--main-text-color);
    background-color: var(--comment-editor-disable-bg);
  }

  .btn {
    line-height: 24px;
    position: relative;
    display: inline-block;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    background-image: none;
    box-shadow: 0 2px 0 rgb(0 0 0 / 2%);
    cursor: pointer;
    transition: all .3s cubic-bezier(.645, .045, .355, 1);
    user-select: none;
    touch-action: manipulation;
    height: 24px;
    font-size: 14px;
    border-radius: 2px;
    color: #000;
    background: #fff;
    border: 1px solid #d9d9d9;

    span {
      display: inline-block;
      line-height: 24px;
    }
  }

}

._3k5_guVzUUtXzu2skrNnws {
  margin-top: 16px;
  color: var(--second-text-color);
  text-align: center;
  border-radius: var(--border-radius);
  background-color: var(--bg-second);
  box-shadow: var(--box-shadow);
}
